package cn.tdeu.spring.resource;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;


public class TestWeiboMapper {
    public static void main(String[] args) {
        ApplicationContext context
                =
                new AnnotationConfigApplicationContext("cn.tdeu.spring.resource");
        WeiboMapper bean = context.getBean(WeiboMapper.class);
        System.out.println(bean);
    }

}
